package com.jackiechancinema.ssm.service.Inte;

import com.github.pagehelper.PageInfo;
import com.jackiechancinema.ssm.bo.DreamBo;
import com.jackiechancinema.ssm.bo.MoviceBo;
import com.jackiechancinema.ssm.dao.DreamDao;
import com.jackiechancinema.ssm.entity.Dreams;
import com.jackiechancinema.ssm.entity.Movices;
import com.jackiechancinema.ssm.vo.PageVo;
import com.jackiechancinema.ssm.vo.R;

import java.util.List;

public interface DreamService {
    //查询所有
    PageInfo<Dreams> queryAll(int page,int limit);
    PageVo<Dreams> findAllV2(DreamBo bo);
    //新增
    R insertAdd(Dreams dreams);
    //修改
    R updateUpdate(Dreams dreams);
    //根据ID删除
    R deleteDel(int id);
}
